﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" xmlns:local="clr-namespace:Terminator" x:Class="EnterPassword"
    Title="Enter Password" Height="416" Width="310" x:Name="MainWindow" WindowStyle="None" ResizeMode="NoResize" ShowInTaskbar="False" WindowStartupLocation="CenterScreen" Topmost="True" Background="{x:Null}" Foreground="{x:Null}" AllowsTransparency="True">	
    <Window.Resources>
        <Image x:Key="ToolsIcon" Width="16" Height="16" Source="/Terminator;component/Resources/Icons/tools.ico"/>
        <Image x:Key="LockOffIcon" Width="16" Height="16" Source="/Terminator;component/Resources/Icons/lock_off.ico"/>
        <ContextMenu x:Key="NotifierContextMenu" Placement="MousePoint">
            <MenuItem Header="Settings ..." Click="ShowSettings" Icon="{StaticResource ToolsIcon}"/>
            <MenuItem Header="Exit" Click="ExitApp" Icon="{StaticResource LockOffIcon}"/>
        </ContextMenu>
    </Window.Resources>
    <Border HorizontalAlignment="Left" VerticalAlignment="Top" BorderThickness="2" CornerRadius="6" Width="310" BorderBrush="Black" Padding="5,0">
    	<Border.Background>
    		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    			<GradientStop Color="#FF313453" Offset="0"/>
    			<GradientStop Color="#FF191A2A" Offset="1"/>
    		</LinearGradientBrush>
    	</Border.Background>	
		<Grid Margin="0,0,0,0">        
			<StackPanel HorizontalAlignment="Left" VerticalAlignment="Top" Height="412" Width="300">
				<TextBlock Margin="10,10,0,10" FontFamily="Tahoma" FontSize="24" Text="Enter Your PIN:" TextWrapping="Wrap" d:LayoutOverrides="Width" Foreground="White"/>
				<WrapPanel Margin="0" VerticalAlignment="Top">
					<Button x:Name="btn7" Width="100" Height="100" Content="7" FontFamily="Stencil" FontSize="96"/>
					<Button x:Name="btn8" Height="100" Content="8" FontFamily="Stencil" FontSize="96" Width="100"/>
					<Button x:Name="btn9" Height="100" Content="9" FontFamily="Stencil" FontSize="96" Width="100"/>
					<Button x:Name="btn4" Width="100" Height="100" Content="4" FontFamily="Stencil" FontSize="96"/>
					<Button x:Name="btn5" Height="100" Content="5" FontFamily="Stencil" FontSize="96" Width="100"/>
					<Button x:Name="btn6" Height="100" Content="6" FontFamily="Stencil" FontSize="96" Width="100"/>
					<Button x:Name="btn1" Width="100" Height="100" Content="1" FontFamily="Stencil" FontSize="96"/>
					<Button x:Name="btn2" Height="100" Content="2" FontFamily="Stencil" FontSize="96" Width="100"/>
					<Button x:Name="btn3" Height="100" Content="3" FontFamily="Stencil" FontSize="96" Width="100"/>
				</WrapPanel>            
				<local:RoundButton x:Name="btnClose" Width="120" Height="40" Margin="0,10,0,0"/>            
			</StackPanel>        
		</Grid>
	</Border>
</Window>
